{template 'common/header'}
<form action="" method="post" class="form-horizontal form" enctype="multipart/form-data" id="form1">
<div class="panel panel-success">
	<div class="panel-heading"> 是否开启关注 </div>
	<div class="panel-body">
		
		<div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-2 control-label"> 参与条件 </label>
            <div class="col-sm-9 col-xs-12">
               	<label><input type="radio" name="status" value="0" checked> 必须关注 </label>
               	<label style="margin-left: 20px;"><input type="radio" name="status" value="1" {if $more['status']}checked{/if}> 不必关注 </label>
            </div>

        </div>

		<div class="form-group">
			<label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label"> 引导关注链接 </label>
			<div class="col-sm-8">
				<input type="text" name="url" class="form-control" value="{$more['url']}" />
			</div>
		</div>

		<div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-2 control-label"> 活动时间 </label>
            <div class="col-sm-9 col-xs-12">
               	{php echo tpl_form_field_daterange('datelimit', array('start'=>date('Y-m-d',$more['starttime']),'end'=>date('Y-m-d',$more['endtime'])), true)}
            </div>
        </div>
		
	</div>
</div>

<div class="panel panel-success">
	<div class="panel-heading"> 地区限制 </div>
	<div class="panel-body">

		<div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-2 control-label"> 活动地区</label>
            <div class="col-sm-9 col-xs-12">
               	{php echo tpl_form_field_district('place',$places)}
            </div>
        </div> 

         <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-2 control-label"> 不在活动地区提示语</label>
            <div class="col-sm-9 col-xs-12">
               	<input name="outtips" class="form-control" value="{if $more['outtips']}{$more['outtips']}{else}很抱歉，你不能参与活动{/if}">
            </div>
        </div>

	</div>
</div>
<div class="form-group col-sm-12">
	<input type="submit" name="submit" value="提交" class="btn btn-primary col-lg-1" />
	<input type="hidden" name="token" value="{$_W['token']}" />
</div>
</form>
{template 'common/footer'}